package com.gpzx.zx.module.home.frame.presenter

import android.content.Context
import com.gpzx.zx.module.home.frame.view.AuthorListView
import com.gpzx.zx.utlis.QklDbUtlis
import com.wkq.base.frame.mosby.MvpBasePresenter

/**
 * 作者: 吴奎庆
 *
 * 时间: 2020/7/15
 *
 * 简介:
 */
class AuthorListPresenter : MvpBasePresenter<AuthorListView>() {
    fun getData(context: Context) {
        var db = QklDbUtlis(context)
        var list = db.getAllAuthorNews();
        view.showData(list)

    }

}